﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RoadQualityEvaluatorData.Domain.Entities
{
    public class User
    {
        [Key]
        public int Id { get; set; }
        public string Username { get; set; }
        public string HashedPassword { get; set; }
        public string Email { get; set; }
        public string Info { get; set; }
        public DateTime CreatedAt { get; set; }
        public virtual IList<Role> UserRoles { get; set; }

    }
}
